<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>运行计划 - 阴保运行管理 - 腐蚀控制</title><link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.min.css"></head>
<body>
    <!-- query data -->
    <input id="JQ_pipeLineId" type="hidden" value="${cpSegment.pipeLineId}">
    <input id="JQ_pipeLineName" type="hidden" value="${cpSegment.pipeLineName}">
    <input id="JQ_fromPointId" type="hidden" value="${cpSegment.fromPointId}">
    <input id="JQ_toPointId" type="hidden" value="${cpSegment.toPointId}">
    <input id="JQ_fromName" type="hidden" value="${cpSegment.fromName}">
    <input id="JQ_toName" type="hidden" value="${cpSegment.toName}">
    <input id="JQ_fromMileage2" type="hidden" value="${cpSegment.fromMileage2}">
    <input id="JQ_toMileage2" type="hidden" value="${cpSegment.toMileage2}">
    <input id="JQ_applyTo" type="hidden" value="PIPELINE">
    <!-- content-body -->
    <div class="main-inner">
        <div class="content-inner">
            <div class="meta-head">
                <h3><i class="zy-corrctrl-icon-plan"></i> 运行计划 <c:if test="${not empty cpSegment}"><i class="zy-url-arrow"></i> 详情</c:if></h3>
            </div>
            <div class="zy-form-line">
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>管道名称</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_pipeline" class="bk-select"><abbr></abbr></blockquote>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta">管段名称</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_segment" class="bk-select"></blockquote>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-15">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>起点位置</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_begin" class="bk-select"></blockquote>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-15">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>终点位置</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_end" class="bk-select"></blockquote>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line">
                <span>运行检测标准选择：</span>
                <div id="JQ_radio_group" class="zy-radio-group">
                    <label>
                        <i class="zy-radio-icon active" data-id="GB_T_19285_2014"></i> GB/T 19285-2014
                    </label>&nbsp;&nbsp;&nbsp;
                    <label>
                        <i class="zy-radio-icon" data-id="GB_T_21448_2008"></i> GB/T 21448-2008
                    </label>&nbsp;&nbsp;&nbsp;
                    <label>
                        <i class="zy-radio-icon" data-id="SY_T_5919_2009"></i> SY/T 5919-2009
                    </label>&nbsp;&nbsp;&nbsp;
                    <label>
                        <i class="zy-radio-icon" data-id="CJJ_95_2013"></i> CJJ 95-2013
                    </label>&nbsp;&nbsp;&nbsp;
                    <label>
                        <i class="zy-radio-icon" data-id="CUSTOM"></i> 自定义检测标准
                    </label>
                </div>
            </div>
            <div class="zy-table">
                <table class="zy-border-table" cellpadding="0" cellspacing="0">
                    <thead>
                    <tr>
                        <th width="10%" rowspan="2">设备/对象</th>
                        <th width="10%" rowspan="2">参数</th>
                        <th width="60%" colspan="5">检测频次</th>
                        <th width="15%" rowspan="2">检测周期</th>
                        <th width="5%" rowspan="2">设置</th>
                    </tr>
                    <tr>
                        <th width="12%">GB/T 19285-2014</th>
                        <th width="12%">GB/T 21448-2008</th>
                        <th width="12%">SY/T 5919-2009</th>
                        <th width="12%">CJJ 95-2013</th>
                        <th width="12%">自定义检测标准</th>
                    </tr>
                    </thead>
                    <tbody id="JQ_plan_tbody">
                    <tr>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                        <td>-</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="zy-form-line t-r">
                <br>
                <br>
                <button id="JQ_goback" class="zy-button zy-goback" type="button"><i class="zy-goback-icon"></i>返回</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button id="JQ_release" class="zy-button zy-search" type="button" data-value="20"><i class="zy-release-icon"></i>发布</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button id="JQ_save" class="zy-button zy-export" type="button" data-value="03"><i class="zy-submit-icon"></i>保存</button>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
            </div>
        </div>
    </div>
    <!-- pick cycle -->
    <div id="JQ_pick_plan" class="zy-pick-plan hidden" data-id="">
        <ul>
            <li class="non-data" data-value="">无<i class="zy-pick-up-icon"></i></li>
            <li data-value="EVERY_DAY">1天/次</li>
            <li data-value="WEEKLY">1周/次</li>
            <li data-value="TWO_WEEK">2周/次</li>
            <li data-value="MONTHLY">1月/次</li>
            <li data-value="TWO_MONTH">2月/次</li>
            <li data-value="THREE_MONTH">3月/次</li>
            <li data-value="SIX_MONTH">6月/次</li>
            <li data-value="ANNUALLY">1年/次</li>
        </ul>
    </div>
    <!-- action plan box -->
    <div class="zy-action-box plan-box">
        <form id="JQ_plan_form">
            <div class="zy-action-title">
                <span class="zy-action-span"></span>
                <i class="zy-action-close plan-close"></i>
                <input type="hidden" value="" id="JQ_plan_id">
            </div>
            <div class="zy-action-inner">
                <div class="zy-form-line">
                    <div class="zy-input-group w-50">
                        <div class="zy-input-meta"><i class="zy-requird-icon"></i>开始时间</div>
                        <div class="zy-input-inner">
                            <input type="text" id="JQ_date_begin" class="zy-i-input zy-i-input-date-0">
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="zy-form-line">
                    <div class="zy-input-group w-100">
                        <div class="zy-input-meta"><i class="zy-requird-icon"></i>结束条件</div>
                        <div id="JQ_radio_mode" class="zy-radio-group">
                            <label>
                                <i id="JQ_never_icon" data-value="FOREVER" class="zy-radio-icon active"></i>&nbsp;&nbsp;从不
                            </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <label>
                                <i id="JQ_count_icon" data-value="COUNT" class="zy-radio-icon"></i>&nbsp;&nbsp;发生
                                <input id="JQ_count_input" type="text" class="zy-plan-input" disabled="disabled">&nbsp;&nbsp;次后
                            </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <label>
                                <i id="JQ_date_end_icon" data-value="DATE" class="zy-radio-icon"></i>&nbsp;&nbsp;在
                                <input id="JQ_date_end_input" type="text" class="zy-plan-input date" disabled="disabled">&nbsp;&nbsp;结束
                            </label>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="zy-form-line">
                    <div class="zy-input-group w-20">
                        <div class="zy-input-meta"><i class="zy-requird-icon"></i>设置提醒</div>
                        <div class="zy-input-inner">
                            <input id="JQ_day_week_month_input" type="text" class="zy-i-input">
                        </div>
                    </div>
                    <div class="zy-sp"></div>
                    <div class="zy-input-group w-25">
                        <div class="zy-input-meta">&nbsp;</div>
                        <div class="zy-select-inner">
                            <blockquote id="JQ_day_week_month_select" class="bk-select"></blockquote>
                        </div>
                    </div>
                    <div class="zy-sp w-5"></div>
                    <div class="zy-input-group w-45">
                        <div class="zy-input-meta">&nbsp;</div>
                        <div class="zy-content-inner" style="line-height: 35px;">前&nbsp;&nbsp;</div>
                        <div class="zy-content-inner">
                            <div class="zy-plan-btn-box l w-20">
                                <i id="JQ_time_h_up" class="zy-plan-btn-act left-top">▲</i>
                                <i id="JQ_time_h_down" class="zy-plan-btn-act left-bottom">▼</i>
                            </div>
                            <div class="l w-60">
                                <input id="JQ_pick_time" type="text" class="zy-plan-time-input" value="12:00">
                            </div>
                            <div class="zy-plan-btn-box r w-20">
                                <i id="JQ_time_m_up" class="zy-plan-btn-act right-top">▲</i>
                                <i id="JQ_time_m_down" class="zy-plan-btn-act right-bottom">▼</i>
                            </div>
                        </div>
                        <div class="zy-content-inner" style="line-height: 35px;">&nbsp;&nbsp;提醒</div>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="zy-form-line t-r">
                    <br>
                    <br>
                    <button id="JQ_action_yes_btn" class="zy-button zy-submit" type="button">确认</button>&nbsp;&nbsp;&nbsp;&nbsp;
                    <button id="JQ_action_no_btn" class="zy-button" type="button">取消</button>
                </div>
            </div>
        </form>
    </div>

    <!-- plugin -->
    <script src="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.full.min.js"></script>
    <!-- ui -->
    <script src="${pageContext.request.contextPath}/static/js/ui/ui-main.js"></script>
    <!-- base -->
    <script src="${pageContext.request.contextPath}/static/js/controller/base/base.controller.js"></script>
    <!-- api -->
    <script src="${pageContext.request.contextPath}/static/js/controller/api/corrctrl.api.js"></script>
    <!-- controller -->
    <script src="${pageContext.request.contextPath}/static/js/controller/corrctrl/cathodic/cathodicDetails.controller.js"></script>
</body>
</html>